package com.runrunfast.face.dao;

import com.runrunfast.face.entity.PersonRelation;
import org.springframework.data.jpa.repository.JpaRepository;


/**
 * @author YangNing
 */
public interface PersonRelationRepository extends JpaRepository<PersonRelation, Long> {

    /**
     * @param personId
     * @return
     */
    PersonRelation findByPersonId(String personId);

    /**
     * @param accountUUid
     * @return
     */
    PersonRelation findByAccountUUid(String accountUUid);
}
